package com.ruoyi.jksd.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.jksd.domain.XyBalanceLog;

/**
 * 会员-收支明细Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-26
 */
public interface XyBalanceLogMapper 
{
    /**
     * 查询会员-收支明细
     * 
     * @param id 会员-收支明细主键
     * @return 会员-收支明细
     */
    public XyBalanceLog selectXyBalanceLogById(Long id);

    /**
     * 查询会员-收支明细列表
     * 
     * @param xyBalanceLog 会员-收支明细
     * @return 会员-收支明细集合
     */
    public List<XyBalanceLog> selectXyBalanceLogList(XyBalanceLog xyBalanceLog);

    /**
     * 新增会员-收支明细
     * 
     * @param xyBalanceLog 会员-收支明细
     * @return 结果
     */
    public int insertXyBalanceLog(XyBalanceLog xyBalanceLog);

    /**
     * 修改会员-收支明细
     * 
     * @param xyBalanceLog 会员-收支明细
     * @return 结果
     */
    public int updateXyBalanceLog(XyBalanceLog xyBalanceLog);

    /**
     * 删除会员-收支明细
     * 
     * @param id 会员-收支明细主键
     * @return 结果
     */
    public int deleteXyBalanceLogById(Long id);

    /**
     * 批量删除会员-收支明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteXyBalanceLogByIds(Long[] ids);

   String CountTodyBalanceLogList(Long xyUserId);

    String CountAllBalanceLogList(Long xyUserId);

    XyBalanceLog selectXyBalanceLogByOid(String oid);
}
